// 云函数入口文件
const cloud = require('wx-server-sdk')

cloud.init({
  env:"hustgsy555-7gd4wyfj95000b16"
})

// 云函数入口函数
exports.main = async (event, context) => {
  let openid=event.openid;
  return cloud.database().collection("list").where({
    _openid:(openid).toString()
  }).get()
}